"""
多级继承: 间接继承
"""
class A:
    def eat(self):
        print("A吃")
class B(A):
    def sleep(self):
        print("B睡")

class C(B):
    pass
c1=C()
c1.eat()

